-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Avoid duplicate calculation of number of float variables #1067
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
I would be interested to look at this, especially because CI fails with: Error: ForNetConTest is a different MOD file than used by NEURON!
Error : NEURON and CoreNEURON must use same mod files for compatibility, 1 different mod file(s) found. Re-compile special and special-core!
Fatal Python error: Aborted |
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #1067 +/- ##
==========================================
- Coverage 69.96% 69.94% -0.02%
==========================================
Files 188 188
Lines 25664 25648 -16
==========================================
- Hits 17956 17940 -16
Misses 7708 7708
☔ View full report in Codecov by Sentry. |
4038fae
to
de63f6d
Compare
If the CI passes this should now be ready to merge |
You could implement one in terms of the other, then the symmetry between int and float variable remains; but the code duplication is gone. |
This comment has been minimized.
This comment has been minimized.
Logfiles from GitLab pipeline #151687 (:white_check_mark:) have been uploaded here! Status and direct links: |
@1uc ready to merge? Do you want to give a final look? |
This PR addresses 2 things:
codegen_float_variables
vector sizeint
variables usingSTL